package cn.iocoder.yudao.module.system.controller.admin.standard.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 存储健康指标基准值，上下限通过计算规则动态生成分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StandardPageReqVO extends PageParam {

    @Schema(description = "基准值生效时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] recordTime;

    @Schema(description = "心率基准值（次/分）")
    private BigDecimal heartRate;

    @Schema(description = "收缩压基准值（mmHg）")
    private BigDecimal systolicPressure;

    @Schema(description = "舒张压基准值（mmHg）")
    private BigDecimal diastolicPressure;

    @Schema(description = "血氧饱和度基准值（%）")
    private BigDecimal oxygenSaturation;

    @Schema(description = "压力指数基准值（HRV分）")
    private BigDecimal stress;

    @Schema(description = "心梗指数")
    private BigDecimal richSore;

    @Schema(description = "反应时间基准值（毫秒）")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] reactionTime;

    @Schema(description = "男性握力基准值（kg）")
    private BigDecimal gripStrength;

    @Schema(description = "男性肺活量基准值（mL）")
    private BigDecimal vitalCapacity;

    @Schema(description = "呼气酒精含量基准值（mg/L）")
    private BigDecimal breathAlcohol;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}